/*
 * Copyright (c) 2010-2011, The MiCode Open Source Community (www.micode.net)
 *
 * This file is part of FileExplorer.
 *
 * FileExplorer is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * FileExplorer is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with SwiFTP.  If not, see <http://www.gnu.org/licenses/>.
 */

package com.yimi.appstore.util;

import java.io.File;

import com.yimi.appstore.YimiApplication;

import android.os.Environment;

public abstract class GlobalConsts {
    public static final String KEY_BASE_SD = "key_base_sd";

    public static final String KEY_SHOW_CATEGORY = "key_show_category";

    public static final String INTENT_EXTRA_TAB = "TAB";

    public static final String ROOT_PATH = "/";

    public static final String SDCARD_PATH = ROOT_PATH + "sdcard";
    
    public static String APP_SAVESDK_PATH = Environment.getExternalStorageDirectory() + "/YimiAppStore/download/";
    
    public static String APP_SAVEPHONE_PATH = "/data/data/"+YimiApplication.context.getPackageName()+"/";
    // Menu id
    public static final int MENU_NEW_FOLDER = 100;
    public static final int MENU_FAVORITE = 101;
    public static final int MENU_COPY = 104;
    public static final int MENU_PASTE = 105;
    public static final int MENU_MOVE = 106;
    public static final int MENU_SHOWHIDE = 117;
    public static final int MENU_COPY_PATH = 118;

    public static final int OPERATION_UP_LEVEL = 3;
    
    
    public static final int TCP_TRANSMISSIONPORT = 8888;// 用于传输数据的端口
    public static final int UDP_BOADCASTPORT = 8887;// 用于广播IP地址的端口
    public static final int TCP_CONNECTPORT = 2425;// 用于双方完成连接请求的端口
    public static final int WIFI_BUFFER_LENGTH = 1024;
    public static final int NAME_BUFFER_LENGTH = 8192;
    public static final int UDP_SEND = 2222;
    public static final int WIFICONNECT = 8885;
    public static final File apkfile = new File("mnt//sdcard//DCIM//Camera//2012-09-28_13-24-24_877.jpg");
    public static final String _apkfile = "mnt/sdcard/booksheilf_txt.png";
    public static final int timecheck = 5000;
//    public static final String alis = "yimi";
//    public static final String psw = "01635275";
    
    public static final String alis = "zhidian";
    public static final String psw = "zhidian2012111";
    
    public static final String MEDIA_APP = "app";
    public static final String MEDIA_MUSIC = "musci";
    public static final String MEDIA_VEDIO = "vedio";
    public static final String MEDIA_BOOK = "book";
    
}
